Skip to main content

badgeType

Type​

property

Summary​

Specifies the type of content that is drawn on the badge.

Syntax​

set the badgeType of widget to {<empty> | <shortText> | <iconName>}
get the badgeType of widget

Description​

Use the badgeType property to specify the type of content that is drawn on the badge.

Examples​

set the badgeType of widget "Circle Avatar" to ""
set the badgeType of widget "Circle Avatar" to "shortText"
set the badgeType of widget "Circle Avatar" to "iconName"

Compatibility and Support​

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile

web